home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic Controls / Visual Basic Controls.iso / vbcontrol / ahmfreec / _setup.1 / AHMTClock.hpp < prev    next >
Encoding:
C/C++ Source or Header  |  1998-12-09  |  3.2 KB  |  106 lines

  1. // Borland C++ Builder
  2. // Copyright (c) 1995, 1998 by Borland International
  3. // All rights reserved
  4.  
  5. // (DO NOT EDIT: machine generated header) 'AHMTClock.pas' rev: 3.00
  6.  
  7. #ifndef AHMTClockHPP
  8. #define AHMTClockHPP
  9. #include <ExtCtrls.hpp>
  10. #include <Menus.hpp>
  11. #include <Graphics.hpp>
  12. #include <Classes.hpp>
  13. #include <StdCtrls.hpp>
  14. #include <AHMFreeware.hpp>
  15. #include <Dialogs.hpp>
  16. #include <Controls.hpp>
  17. #include <Windows.hpp>
  18. #include <SysUtils.hpp>
  19. #include <SysInit.hpp>
  20. #include <System.hpp>
  21.  
  22. //-- user supplied -----------------------------------------------------------
  23.  
  24. namespace Ahmtclock
  25. {
  26. //-- type declarations -------------------------------------------------------
  27. enum TAHMDateTime { dtTime, dtDate };
  28.  
  29. class DELPHICLASS TAHMClock;
  30. class PASCALIMPLEMENTATION TAHMClock : public Extctrls::TCustomPanel 
  31. {
  32.     typedef Extctrls::TCustomPanel inherited;
  33.     
  34. private:
  35.     Ahmfreeware::TAHMAboutFreeStr FAbout;
  36.     System::AnsiString o1;
  37.     System::AnsiString o2;
  38.     System::AnsiString o3;
  39.     System::AnsiString d1;
  40.     System::AnsiString d2;
  41.     System::AnsiString d3;
  42.     Extctrls::TTimer* ftim;
  43.     TAHMDateTime fdtype;
  44.     System::TDateTime otime;
  45.     int fstyle;
  46.     int fexstyle;
  47.     Graphics::TColor fcol;
  48.     bool ffloat;
  49.     Graphics::TColor fcdig;
  50.     Graphics::TColor fcshad;
  51.     void __fastcall Setdtype(TAHMDateTime value);
  52.     void __fastcall Setfloat(bool value);
  53.     void __fastcall Setclock(System::TObject* Sender);
  54.     void __fastcall Setcol(Graphics::TColor value);
  55.     void __fastcall SetCDig(Graphics::TColor value);
  56.     void __fastcall SetCShad(Graphics::TColor value);
  57.     
  58. protected:
  59.     virtual void __fastcall Paint(void);
  60.     DYNAMIC void __fastcall Click(void);
  61.     virtual void __fastcall CreateParams(Controls::TCreateParams &Params);
  62.     
  63. public:
  64.     __fastcall virtual TAHMClock(Classes::TComponent* AOwner);
  65.     __fastcall virtual ~TAHMClock(void);
  66.     virtual void __fastcall Loaded(void);
  67.     
  68. __published:
  69.     __property Ahmfreeware::TAHMAboutFreeStr About = {read=FAbout, write=FAbout};
  70.     __property Graphics::TColor BackColor = {read=fcol, write=Setcol, default=12632256};
  71.     __property bool DialogFrame = {read=ffloat, write=Setfloat, default=0};
  72.     __property TAHMDateTime DisplayType = {read=fdtype, write=Setdtype, nodefault};
  73.     __property Graphics::TColor DigitColor = {read=fcdig, write=SetCDig, default=0};
  74.     __property Graphics::TColor DigitShadowColor = {read=fcshad, write=SetCShad, default=8421504};
  75.     __property DragCursor ;
  76.     __property DragMode ;
  77.     __property Enabled ;
  78.     __property ParentFont ;
  79.     __property ParentShowHint ;
  80.     __property PopupMenu ;
  81.     __property ShowHint ;
  82.     __property Visible ;
  83.     __property OnClick ;
  84.     __property OnDblClick ;
  85.     __property OnDragDrop ;
  86.     __property OnDragOver ;
  87.     __property OnEndDrag ;
  88.     __property OnMouseDown ;
  89.     __property OnMouseMove ;
  90.     __property OnMouseUp ;
  91.     __property OnStartDrag ;
  92. public:
  93.     /* TWinControl.CreateParented */ __fastcall TAHMClock(HWND ParentWindow) : Extctrls::TCustomPanel(ParentWindow
  94.         ) { }
  95.     
  96. };
  97.  
  98. //-- var, const, procedure ---------------------------------------------------
  99.  
  100. }    /* namespace Ahmtclock */
  101. #if !defined(NO_IMPLICIT_NAMESPACE_USE)
  102. using namespace Ahmtclock;
  103. #endif
  104. //-- end unit ----------------------------------------------------------------
  105. #endif    // AHMTClock
  106.